import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import ${model.entityResponseClassName} from '${model.entityResponseClassFullName}'
import ${model.moduleApiConfigClassName} from '${model.moduleApiConfigClassFullName}'

const moduleApiConfig = ${model.moduleApiConfigFullPath}

class ${model.className} extends BaseAdminServerApi<string, ${model.entityResponseClassName}> {}

const adminServerApi = new ${model.className}({ adminApiConfig: moduleApiConfig })

export default adminServerApi
